package com.nightpiter.view.graphics.factories;

import com.nightpiter.view.graphics.abstaractions.AbstractPoint;

public abstract class PointFactory {

	private static PointFactory factory;

	public static PointFactory getFactory() {
		return factory;
	}

	public static void setFactory(PointFactory factory) {
		PointFactory.factory = factory;
	}

	public abstract AbstractPoint create();

	public abstract AbstractPoint create(int x, int y);

}
